home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000368_broezell@cig.mot.com_Wed Aug 25 08:57:53 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!nntp2.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
  2. From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: input command
  5. Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
  6. Organization: Motorola, Inc.
  7. Lines: 23
  8. Message-ID: <cgg7e0$3od$1@avnika.corp.mot.com>
  9. NNTP-Posting-Host: login4.cig.mot.com
  10. X-Trace: avnika.corp.mot.com 1093378304 3853 160.22.92.95 (24 Aug 2004 20:11:44 GMT)
  11. X-Complaints-To: news@avnika.corp.mot.com
  12. NNTP-Posting-Date: Tue, 24 Aug 2004 20:11:44 +0000 (UTC)
  13. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15133
  14.  
  15. Is there a way to to get the input/minput command to find an exact match?
  16.  
  17. I want it to find only the string:
  18.  
  19.  login:
  20.  
  21. That's a single space followed by login: and no trailing spaces. Using
  22. the UNIX grep command I would find it using:
  23.  
  24. grep '^ login:$' file_name
  25.  
  26. Instead, input/minput is catching any line with login: within it, such
  27. as:
  28.  
  29. Last login: Tue Aug 17 16:03:20 from 10.195.10.8
  30.  
  31.  
  32. Thanks
  33. --
  34. +-----------------+----------------------------------+------------------------+
  35. |     .     .     |Kenny Broezell                    |phone    :(847) 342-5633|
  36. |    ...   ...    |Customer Network Resolution Center|alt phone:(847) 632-5390|
  37. |   ..... .....   |1501 Shure Drive                  |fax      :(847) 632-3157|